﻿using ECO.Admin.Core.EntityCore;
using SqlSugar;


namespace ECO.Admin.Core.Entities.System
{
    [SugarTable("SysRoleMenuMapping", TableDescription = "角色菜单映射表")]
    public class SysRoleMenuMapping : IEntity
    {
        /// <summary>
        /// 菜单Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int MenuId { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int RoleId { get; set; }
    }
}
